A survey is a method of collecting data by asking people to give their answers to a given set of questions.